package cn.iinda.electronicInfo.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ElectronicInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ElectronicInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPatientNameIsNull() {
            addCriterion("patient_name is null");
            return (Criteria) this;
        }

        public Criteria andPatientNameIsNotNull() {
            addCriterion("patient_name is not null");
            return (Criteria) this;
        }

        public Criteria andPatientNameEqualTo(String value) {
            addCriterion("patient_name =", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameNotEqualTo(String value) {
            addCriterion("patient_name <>", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameGreaterThan(String value) {
            addCriterion("patient_name >", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameGreaterThanOrEqualTo(String value) {
            addCriterion("patient_name >=", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameLessThan(String value) {
            addCriterion("patient_name <", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameLessThanOrEqualTo(String value) {
            addCriterion("patient_name <=", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameLike(String value) {
            addCriterion("patient_name like", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameNotLike(String value) {
            addCriterion("patient_name not like", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameIn(List<String> values) {
            addCriterion("patient_name in", values, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameNotIn(List<String> values) {
            addCriterion("patient_name not in", values, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameBetween(String value1, String value2) {
            addCriterion("patient_name between", value1, value2, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameNotBetween(String value1, String value2) {
            addCriterion("patient_name not between", value1, value2, "patientName");
            return (Criteria) this;
        }

        public Criteria andPhoneNumIsNull() {
            addCriterion("phone_num is null");
            return (Criteria) this;
        }

        public Criteria andPhoneNumIsNotNull() {
            addCriterion("phone_num is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneNumEqualTo(String value) {
            addCriterion("phone_num =", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumNotEqualTo(String value) {
            addCriterion("phone_num <>", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumGreaterThan(String value) {
            addCriterion("phone_num >", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumGreaterThanOrEqualTo(String value) {
            addCriterion("phone_num >=", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumLessThan(String value) {
            addCriterion("phone_num <", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumLessThanOrEqualTo(String value) {
            addCriterion("phone_num <=", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumLike(String value) {
            addCriterion("phone_num like", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumNotLike(String value) {
            addCriterion("phone_num not like", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumIn(List<String> values) {
            addCriterion("phone_num in", values, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumNotIn(List<String> values) {
            addCriterion("phone_num not in", values, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumBetween(String value1, String value2) {
            addCriterion("phone_num between", value1, value2, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumNotBetween(String value1, String value2) {
            addCriterion("phone_num not between", value1, value2, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andImpressionIsNull() {
            addCriterion("impression is null");
            return (Criteria) this;
        }

        public Criteria andImpressionIsNotNull() {
            addCriterion("impression is not null");
            return (Criteria) this;
        }

        public Criteria andImpressionEqualTo(String value) {
            addCriterion("impression =", value, "impression");
            return (Criteria) this;
        }

        public Criteria andImpressionNotEqualTo(String value) {
            addCriterion("impression <>", value, "impression");
            return (Criteria) this;
        }

        public Criteria andImpressionGreaterThan(String value) {
            addCriterion("impression >", value, "impression");
            return (Criteria) this;
        }

        public Criteria andImpressionGreaterThanOrEqualTo(String value) {
            addCriterion("impression >=", value, "impression");
            return (Criteria) this;
        }

        public Criteria andImpressionLessThan(String value) {
            addCriterion("impression <", value, "impression");
            return (Criteria) this;
        }

        public Criteria andImpressionLessThanOrEqualTo(String value) {
            addCriterion("impression <=", value, "impression");
            return (Criteria) this;
        }

        public Criteria andImpressionLike(String value) {
            addCriterion("impression like", value, "impression");
            return (Criteria) this;
        }

        public Criteria andImpressionNotLike(String value) {
            addCriterion("impression not like", value, "impression");
            return (Criteria) this;
        }

        public Criteria andImpressionIn(List<String> values) {
            addCriterion("impression in", values, "impression");
            return (Criteria) this;
        }

        public Criteria andImpressionNotIn(List<String> values) {
            addCriterion("impression not in", values, "impression");
            return (Criteria) this;
        }

        public Criteria andImpressionBetween(String value1, String value2) {
            addCriterion("impression between", value1, value2, "impression");
            return (Criteria) this;
        }

        public Criteria andImpressionNotBetween(String value1, String value2) {
            addCriterion("impression not between", value1, value2, "impression");
            return (Criteria) this;
        }

        public Criteria andReportFlagIsNull() {
            addCriterion("report_flag is null");
            return (Criteria) this;
        }

        public Criteria andReportFlagIsNotNull() {
            addCriterion("report_flag is not null");
            return (Criteria) this;
        }

        public Criteria andReportFlagEqualTo(Integer value) {
            addCriterion("report_flag =", value, "reportFlag");
            return (Criteria) this;
        }

        public Criteria andReportFlagNotEqualTo(Integer value) {
            addCriterion("report_flag <>", value, "reportFlag");
            return (Criteria) this;
        }

        public Criteria andReportFlagGreaterThan(Integer value) {
            addCriterion("report_flag >", value, "reportFlag");
            return (Criteria) this;
        }

        public Criteria andReportFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("report_flag >=", value, "reportFlag");
            return (Criteria) this;
        }

        public Criteria andReportFlagLessThan(Integer value) {
            addCriterion("report_flag <", value, "reportFlag");
            return (Criteria) this;
        }

        public Criteria andReportFlagLessThanOrEqualTo(Integer value) {
            addCriterion("report_flag <=", value, "reportFlag");
            return (Criteria) this;
        }

        public Criteria andReportFlagIn(List<Integer> values) {
            addCriterion("report_flag in", values, "reportFlag");
            return (Criteria) this;
        }

        public Criteria andReportFlagNotIn(List<Integer> values) {
            addCriterion("report_flag not in", values, "reportFlag");
            return (Criteria) this;
        }

        public Criteria andReportFlagBetween(Integer value1, Integer value2) {
            addCriterion("report_flag between", value1, value2, "reportFlag");
            return (Criteria) this;
        }

        public Criteria andReportFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("report_flag not between", value1, value2, "reportFlag");
            return (Criteria) this;
        }

        public Criteria andSummaryIsNull() {
            addCriterion("summary is null");
            return (Criteria) this;
        }

        public Criteria andSummaryIsNotNull() {
            addCriterion("summary is not null");
            return (Criteria) this;
        }

        public Criteria andSummaryEqualTo(String value) {
            addCriterion("summary =", value, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryNotEqualTo(String value) {
            addCriterion("summary <>", value, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryGreaterThan(String value) {
            addCriterion("summary >", value, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryGreaterThanOrEqualTo(String value) {
            addCriterion("summary >=", value, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryLessThan(String value) {
            addCriterion("summary <", value, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryLessThanOrEqualTo(String value) {
            addCriterion("summary <=", value, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryLike(String value) {
            addCriterion("summary like", value, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryNotLike(String value) {
            addCriterion("summary not like", value, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryIn(List<String> values) {
            addCriterion("summary in", values, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryNotIn(List<String> values) {
            addCriterion("summary not in", values, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryBetween(String value1, String value2) {
            addCriterion("summary between", value1, value2, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryNotBetween(String value1, String value2) {
            addCriterion("summary not between", value1, value2, "summary");
            return (Criteria) this;
        }

        public Criteria andReportDrIsNull() {
            addCriterion("report_dr is null");
            return (Criteria) this;
        }

        public Criteria andReportDrIsNotNull() {
            addCriterion("report_dr is not null");
            return (Criteria) this;
        }

        public Criteria andReportDrEqualTo(String value) {
            addCriterion("report_dr =", value, "reportDr");
            return (Criteria) this;
        }

        public Criteria andReportDrNotEqualTo(String value) {
            addCriterion("report_dr <>", value, "reportDr");
            return (Criteria) this;
        }

        public Criteria andReportDrGreaterThan(String value) {
            addCriterion("report_dr >", value, "reportDr");
            return (Criteria) this;
        }

        public Criteria andReportDrGreaterThanOrEqualTo(String value) {
            addCriterion("report_dr >=", value, "reportDr");
            return (Criteria) this;
        }

        public Criteria andReportDrLessThan(String value) {
            addCriterion("report_dr <", value, "reportDr");
            return (Criteria) this;
        }

        public Criteria andReportDrLessThanOrEqualTo(String value) {
            addCriterion("report_dr <=", value, "reportDr");
            return (Criteria) this;
        }

        public Criteria andReportDrLike(String value) {
            addCriterion("report_dr like", value, "reportDr");
            return (Criteria) this;
        }

        public Criteria andReportDrNotLike(String value) {
            addCriterion("report_dr not like", value, "reportDr");
            return (Criteria) this;
        }

        public Criteria andReportDrIn(List<String> values) {
            addCriterion("report_dr in", values, "reportDr");
            return (Criteria) this;
        }

        public Criteria andReportDrNotIn(List<String> values) {
            addCriterion("report_dr not in", values, "reportDr");
            return (Criteria) this;
        }

        public Criteria andReportDrBetween(String value1, String value2) {
            addCriterion("report_dr between", value1, value2, "reportDr");
            return (Criteria) this;
        }

        public Criteria andReportDrNotBetween(String value1, String value2) {
            addCriterion("report_dr not between", value1, value2, "reportDr");
            return (Criteria) this;
        }

        public Criteria andStudyIdIsNull() {
            addCriterion("study_id is null");
            return (Criteria) this;
        }

        public Criteria andStudyIdIsNotNull() {
            addCriterion("study_id is not null");
            return (Criteria) this;
        }

        public Criteria andStudyIdEqualTo(Integer value) {
            addCriterion("study_id =", value, "studyId");
            return (Criteria) this;
        }

        public Criteria andStudyIdNotEqualTo(Integer value) {
            addCriterion("study_id <>", value, "studyId");
            return (Criteria) this;
        }

        public Criteria andStudyIdGreaterThan(Integer value) {
            addCriterion("study_id >", value, "studyId");
            return (Criteria) this;
        }

        public Criteria andStudyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("study_id >=", value, "studyId");
            return (Criteria) this;
        }

        public Criteria andStudyIdLessThan(Integer value) {
            addCriterion("study_id <", value, "studyId");
            return (Criteria) this;
        }

        public Criteria andStudyIdLessThanOrEqualTo(Integer value) {
            addCriterion("study_id <=", value, "studyId");
            return (Criteria) this;
        }

        public Criteria andStudyIdIn(List<Integer> values) {
            addCriterion("study_id in", values, "studyId");
            return (Criteria) this;
        }

        public Criteria andStudyIdNotIn(List<Integer> values) {
            addCriterion("study_id not in", values, "studyId");
            return (Criteria) this;
        }

        public Criteria andStudyIdBetween(Integer value1, Integer value2) {
            addCriterion("study_id between", value1, value2, "studyId");
            return (Criteria) this;
        }

        public Criteria andStudyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("study_id not between", value1, value2, "studyId");
            return (Criteria) this;
        }

        public Criteria andResultIdIsNull() {
            addCriterion("result_id is null");
            return (Criteria) this;
        }

        public Criteria andResultIdIsNotNull() {
            addCriterion("result_id is not null");
            return (Criteria) this;
        }

        public Criteria andResultIdEqualTo(Integer value) {
            addCriterion("result_id =", value, "resultId");
            return (Criteria) this;
        }

        public Criteria andResultIdNotEqualTo(Integer value) {
            addCriterion("result_id <>", value, "resultId");
            return (Criteria) this;
        }

        public Criteria andResultIdGreaterThan(Integer value) {
            addCriterion("result_id >", value, "resultId");
            return (Criteria) this;
        }

        public Criteria andResultIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("result_id >=", value, "resultId");
            return (Criteria) this;
        }

        public Criteria andResultIdLessThan(Integer value) {
            addCriterion("result_id <", value, "resultId");
            return (Criteria) this;
        }

        public Criteria andResultIdLessThanOrEqualTo(Integer value) {
            addCriterion("result_id <=", value, "resultId");
            return (Criteria) this;
        }

        public Criteria andResultIdIn(List<Integer> values) {
            addCriterion("result_id in", values, "resultId");
            return (Criteria) this;
        }

        public Criteria andResultIdNotIn(List<Integer> values) {
            addCriterion("result_id not in", values, "resultId");
            return (Criteria) this;
        }

        public Criteria andResultIdBetween(Integer value1, Integer value2) {
            addCriterion("result_id between", value1, value2, "resultId");
            return (Criteria) this;
        }

        public Criteria andResultIdNotBetween(Integer value1, Integer value2) {
            addCriterion("result_id not between", value1, value2, "resultId");
            return (Criteria) this;
        }

        public Criteria andModalityIsNull() {
            addCriterion("modality is null");
            return (Criteria) this;
        }

        public Criteria andModalityIsNotNull() {
            addCriterion("modality is not null");
            return (Criteria) this;
        }

        public Criteria andModalityEqualTo(String value) {
            addCriterion("modality =", value, "modality");
            return (Criteria) this;
        }

        public Criteria andModalityNotEqualTo(String value) {
            addCriterion("modality <>", value, "modality");
            return (Criteria) this;
        }

        public Criteria andModalityGreaterThan(String value) {
            addCriterion("modality >", value, "modality");
            return (Criteria) this;
        }

        public Criteria andModalityGreaterThanOrEqualTo(String value) {
            addCriterion("modality >=", value, "modality");
            return (Criteria) this;
        }

        public Criteria andModalityLessThan(String value) {
            addCriterion("modality <", value, "modality");
            return (Criteria) this;
        }

        public Criteria andModalityLessThanOrEqualTo(String value) {
            addCriterion("modality <=", value, "modality");
            return (Criteria) this;
        }

        public Criteria andModalityLike(String value) {
            addCriterion("modality like", value, "modality");
            return (Criteria) this;
        }

        public Criteria andModalityNotLike(String value) {
            addCriterion("modality not like", value, "modality");
            return (Criteria) this;
        }

        public Criteria andModalityIn(List<String> values) {
            addCriterion("modality in", values, "modality");
            return (Criteria) this;
        }

        public Criteria andModalityNotIn(List<String> values) {
            addCriterion("modality not in", values, "modality");
            return (Criteria) this;
        }

        public Criteria andModalityBetween(String value1, String value2) {
            addCriterion("modality between", value1, value2, "modality");
            return (Criteria) this;
        }

        public Criteria andModalityNotBetween(String value1, String value2) {
            addCriterion("modality not between", value1, value2, "modality");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeIsNull() {
            addCriterion("report_time is null");
            return (Criteria) this;
        }

        public Criteria andReportTimeIsNotNull() {
            addCriterion("report_time is not null");
            return (Criteria) this;
        }

        public Criteria andReportTimeEqualTo(Date value) {
            addCriterion("report_time =", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeNotEqualTo(Date value) {
            addCriterion("report_time <>", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeGreaterThan(Date value) {
            addCriterion("report_time >", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("report_time >=", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeLessThan(Date value) {
            addCriterion("report_time <", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeLessThanOrEqualTo(Date value) {
            addCriterion("report_time <=", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeIn(List<Date> values) {
            addCriterion("report_time in", values, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeNotIn(List<Date> values) {
            addCriterion("report_time not in", values, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeBetween(Date value1, Date value2) {
            addCriterion("report_time between", value1, value2, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeNotBetween(Date value1, Date value2) {
            addCriterion("report_time not between", value1, value2, "reportTime");
            return (Criteria) this;
        }

        public Criteria andExamDateIsNull() {
            addCriterion("exam_date is null");
            return (Criteria) this;
        }

        public Criteria andExamDateIsNotNull() {
            addCriterion("exam_date is not null");
            return (Criteria) this;
        }

        public Criteria andExamDateEqualTo(String value) {
            addCriterion("exam_date =", value, "examDate");
            return (Criteria) this;
        }

        public Criteria andExamDateNotEqualTo(String value) {
            addCriterion("exam_date <>", value, "examDate");
            return (Criteria) this;
        }

        public Criteria andExamDateGreaterThan(String value) {
            addCriterion("exam_date >", value, "examDate");
            return (Criteria) this;
        }

        public Criteria andExamDateGreaterThanOrEqualTo(String value) {
            addCriterion("exam_date >=", value, "examDate");
            return (Criteria) this;
        }

        public Criteria andExamDateLessThan(String value) {
            addCriterion("exam_date <", value, "examDate");
            return (Criteria) this;
        }

        public Criteria andExamDateLessThanOrEqualTo(String value) {
            addCriterion("exam_date <=", value, "examDate");
            return (Criteria) this;
        }

        public Criteria andExamDateLike(String value) {
            addCriterion("exam_date like", value, "examDate");
            return (Criteria) this;
        }

        public Criteria andExamDateNotLike(String value) {
            addCriterion("exam_date not like", value, "examDate");
            return (Criteria) this;
        }

        public Criteria andExamDateIn(List<String> values) {
            addCriterion("exam_date in", values, "examDate");
            return (Criteria) this;
        }

        public Criteria andExamDateNotIn(List<String> values) {
            addCriterion("exam_date not in", values, "examDate");
            return (Criteria) this;
        }

        public Criteria andExamDateBetween(String value1, String value2) {
            addCriterion("exam_date between", value1, value2, "examDate");
            return (Criteria) this;
        }

        public Criteria andExamDateNotBetween(String value1, String value2) {
            addCriterion("exam_date not between", value1, value2, "examDate");
            return (Criteria) this;
        }

        public Criteria andExamTimeIsNull() {
            addCriterion("exam_time is null");
            return (Criteria) this;
        }

        public Criteria andExamTimeIsNotNull() {
            addCriterion("exam_time is not null");
            return (Criteria) this;
        }

        public Criteria andExamTimeEqualTo(String value) {
            addCriterion("exam_time =", value, "examTime");
            return (Criteria) this;
        }

        public Criteria andExamTimeNotEqualTo(String value) {
            addCriterion("exam_time <>", value, "examTime");
            return (Criteria) this;
        }

        public Criteria andExamTimeGreaterThan(String value) {
            addCriterion("exam_time >", value, "examTime");
            return (Criteria) this;
        }

        public Criteria andExamTimeGreaterThanOrEqualTo(String value) {
            addCriterion("exam_time >=", value, "examTime");
            return (Criteria) this;
        }

        public Criteria andExamTimeLessThan(String value) {
            addCriterion("exam_time <", value, "examTime");
            return (Criteria) this;
        }

        public Criteria andExamTimeLessThanOrEqualTo(String value) {
            addCriterion("exam_time <=", value, "examTime");
            return (Criteria) this;
        }

        public Criteria andExamTimeLike(String value) {
            addCriterion("exam_time like", value, "examTime");
            return (Criteria) this;
        }

        public Criteria andExamTimeNotLike(String value) {
            addCriterion("exam_time not like", value, "examTime");
            return (Criteria) this;
        }

        public Criteria andExamTimeIn(List<String> values) {
            addCriterion("exam_time in", values, "examTime");
            return (Criteria) this;
        }

        public Criteria andExamTimeNotIn(List<String> values) {
            addCriterion("exam_time not in", values, "examTime");
            return (Criteria) this;
        }

        public Criteria andExamTimeBetween(String value1, String value2) {
            addCriterion("exam_time between", value1, value2, "examTime");
            return (Criteria) this;
        }

        public Criteria andExamTimeNotBetween(String value1, String value2) {
            addCriterion("exam_time not between", value1, value2, "examTime");
            return (Criteria) this;
        }

        public Criteria andStudyPointIsNull() {
            addCriterion("study_point is null");
            return (Criteria) this;
        }

        public Criteria andStudyPointIsNotNull() {
            addCriterion("study_point is not null");
            return (Criteria) this;
        }

        public Criteria andStudyPointEqualTo(String value) {
            addCriterion("study_point =", value, "studyPoint");
            return (Criteria) this;
        }

        public Criteria andStudyPointNotEqualTo(String value) {
            addCriterion("study_point <>", value, "studyPoint");
            return (Criteria) this;
        }

        public Criteria andStudyPointGreaterThan(String value) {
            addCriterion("study_point >", value, "studyPoint");
            return (Criteria) this;
        }

        public Criteria andStudyPointGreaterThanOrEqualTo(String value) {
            addCriterion("study_point >=", value, "studyPoint");
            return (Criteria) this;
        }

        public Criteria andStudyPointLessThan(String value) {
            addCriterion("study_point <", value, "studyPoint");
            return (Criteria) this;
        }

        public Criteria andStudyPointLessThanOrEqualTo(String value) {
            addCriterion("study_point <=", value, "studyPoint");
            return (Criteria) this;
        }

        public Criteria andStudyPointLike(String value) {
            addCriterion("study_point like", value, "studyPoint");
            return (Criteria) this;
        }

        public Criteria andStudyPointNotLike(String value) {
            addCriterion("study_point not like", value, "studyPoint");
            return (Criteria) this;
        }

        public Criteria andStudyPointIn(List<String> values) {
            addCriterion("study_point in", values, "studyPoint");
            return (Criteria) this;
        }

        public Criteria andStudyPointNotIn(List<String> values) {
            addCriterion("study_point not in", values, "studyPoint");
            return (Criteria) this;
        }

        public Criteria andStudyPointBetween(String value1, String value2) {
            addCriterion("study_point between", value1, value2, "studyPoint");
            return (Criteria) this;
        }

        public Criteria andStudyPointNotBetween(String value1, String value2) {
            addCriterion("study_point not between", value1, value2, "studyPoint");
            return (Criteria) this;
        }

        public Criteria andBasicMedicalIsNull() {
            addCriterion("basic_medical is null");
            return (Criteria) this;
        }

        public Criteria andBasicMedicalIsNotNull() {
            addCriterion("basic_medical is not null");
            return (Criteria) this;
        }

        public Criteria andBasicMedicalEqualTo(String value) {
            addCriterion("basic_medical =", value, "basicMedical");
            return (Criteria) this;
        }

        public Criteria andBasicMedicalNotEqualTo(String value) {
            addCriterion("basic_medical <>", value, "basicMedical");
            return (Criteria) this;
        }

        public Criteria andBasicMedicalGreaterThan(String value) {
            addCriterion("basic_medical >", value, "basicMedical");
            return (Criteria) this;
        }

        public Criteria andBasicMedicalGreaterThanOrEqualTo(String value) {
            addCriterion("basic_medical >=", value, "basicMedical");
            return (Criteria) this;
        }

        public Criteria andBasicMedicalLessThan(String value) {
            addCriterion("basic_medical <", value, "basicMedical");
            return (Criteria) this;
        }

        public Criteria andBasicMedicalLessThanOrEqualTo(String value) {
            addCriterion("basic_medical <=", value, "basicMedical");
            return (Criteria) this;
        }

        public Criteria andBasicMedicalLike(String value) {
            addCriterion("basic_medical like", value, "basicMedical");
            return (Criteria) this;
        }

        public Criteria andBasicMedicalNotLike(String value) {
            addCriterion("basic_medical not like", value, "basicMedical");
            return (Criteria) this;
        }

        public Criteria andBasicMedicalIn(List<String> values) {
            addCriterion("basic_medical in", values, "basicMedical");
            return (Criteria) this;
        }

        public Criteria andBasicMedicalNotIn(List<String> values) {
            addCriterion("basic_medical not in", values, "basicMedical");
            return (Criteria) this;
        }

        public Criteria andBasicMedicalBetween(String value1, String value2) {
            addCriterion("basic_medical between", value1, value2, "basicMedical");
            return (Criteria) this;
        }

        public Criteria andBasicMedicalNotBetween(String value1, String value2) {
            addCriterion("basic_medical not between", value1, value2, "basicMedical");
            return (Criteria) this;
        }

        public Criteria andPatientNumIsNull() {
            addCriterion("patient_num is null");
            return (Criteria) this;
        }

        public Criteria andPatientNumIsNotNull() {
            addCriterion("patient_num is not null");
            return (Criteria) this;
        }

        public Criteria andPatientNumEqualTo(String value) {
            addCriterion("patient_num =", value, "patientNum");
            return (Criteria) this;
        }

        public Criteria andPatientNumNotEqualTo(String value) {
            addCriterion("patient_num <>", value, "patientNum");
            return (Criteria) this;
        }

        public Criteria andPatientNumGreaterThan(String value) {
            addCriterion("patient_num >", value, "patientNum");
            return (Criteria) this;
        }

        public Criteria andPatientNumGreaterThanOrEqualTo(String value) {
            addCriterion("patient_num >=", value, "patientNum");
            return (Criteria) this;
        }

        public Criteria andPatientNumLessThan(String value) {
            addCriterion("patient_num <", value, "patientNum");
            return (Criteria) this;
        }

        public Criteria andPatientNumLessThanOrEqualTo(String value) {
            addCriterion("patient_num <=", value, "patientNum");
            return (Criteria) this;
        }

        public Criteria andPatientNumLike(String value) {
            addCriterion("patient_num like", value, "patientNum");
            return (Criteria) this;
        }

        public Criteria andPatientNumNotLike(String value) {
            addCriterion("patient_num not like", value, "patientNum");
            return (Criteria) this;
        }

        public Criteria andPatientNumIn(List<String> values) {
            addCriterion("patient_num in", values, "patientNum");
            return (Criteria) this;
        }

        public Criteria andPatientNumNotIn(List<String> values) {
            addCriterion("patient_num not in", values, "patientNum");
            return (Criteria) this;
        }

        public Criteria andPatientNumBetween(String value1, String value2) {
            addCriterion("patient_num between", value1, value2, "patientNum");
            return (Criteria) this;
        }

        public Criteria andPatientNumNotBetween(String value1, String value2) {
            addCriterion("patient_num not between", value1, value2, "patientNum");
            return (Criteria) this;
        }

        public Criteria andVerifyDrIsNull() {
            addCriterion("verify_dr is null");
            return (Criteria) this;
        }

        public Criteria andVerifyDrIsNotNull() {
            addCriterion("verify_dr is not null");
            return (Criteria) this;
        }

        public Criteria andVerifyDrEqualTo(String value) {
            addCriterion("verify_dr =", value, "verifyDr");
            return (Criteria) this;
        }

        public Criteria andVerifyDrNotEqualTo(String value) {
            addCriterion("verify_dr <>", value, "verifyDr");
            return (Criteria) this;
        }

        public Criteria andVerifyDrGreaterThan(String value) {
            addCriterion("verify_dr >", value, "verifyDr");
            return (Criteria) this;
        }

        public Criteria andVerifyDrGreaterThanOrEqualTo(String value) {
            addCriterion("verify_dr >=", value, "verifyDr");
            return (Criteria) this;
        }

        public Criteria andVerifyDrLessThan(String value) {
            addCriterion("verify_dr <", value, "verifyDr");
            return (Criteria) this;
        }

        public Criteria andVerifyDrLessThanOrEqualTo(String value) {
            addCriterion("verify_dr <=", value, "verifyDr");
            return (Criteria) this;
        }

        public Criteria andVerifyDrLike(String value) {
            addCriterion("verify_dr like", value, "verifyDr");
            return (Criteria) this;
        }

        public Criteria andVerifyDrNotLike(String value) {
            addCriterion("verify_dr not like", value, "verifyDr");
            return (Criteria) this;
        }

        public Criteria andVerifyDrIn(List<String> values) {
            addCriterion("verify_dr in", values, "verifyDr");
            return (Criteria) this;
        }

        public Criteria andVerifyDrNotIn(List<String> values) {
            addCriterion("verify_dr not in", values, "verifyDr");
            return (Criteria) this;
        }

        public Criteria andVerifyDrBetween(String value1, String value2) {
            addCriterion("verify_dr between", value1, value2, "verifyDr");
            return (Criteria) this;
        }

        public Criteria andVerifyDrNotBetween(String value1, String value2) {
            addCriterion("verify_dr not between", value1, value2, "verifyDr");
            return (Criteria) this;
        }

        public Criteria andIsPositiveIsNull() {
            addCriterion("is_positive is null");
            return (Criteria) this;
        }

        public Criteria andIsPositiveIsNotNull() {
            addCriterion("is_positive is not null");
            return (Criteria) this;
        }

        public Criteria andIsPositiveEqualTo(Integer value) {
            addCriterion("is_positive =", value, "isPositive");
            return (Criteria) this;
        }

        public Criteria andIsPositiveNotEqualTo(Integer value) {
            addCriterion("is_positive <>", value, "isPositive");
            return (Criteria) this;
        }

        public Criteria andIsPositiveGreaterThan(Integer value) {
            addCriterion("is_positive >", value, "isPositive");
            return (Criteria) this;
        }

        public Criteria andIsPositiveGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_positive >=", value, "isPositive");
            return (Criteria) this;
        }

        public Criteria andIsPositiveLessThan(Integer value) {
            addCriterion("is_positive <", value, "isPositive");
            return (Criteria) this;
        }

        public Criteria andIsPositiveLessThanOrEqualTo(Integer value) {
            addCriterion("is_positive <=", value, "isPositive");
            return (Criteria) this;
        }

        public Criteria andIsPositiveIn(List<Integer> values) {
            addCriterion("is_positive in", values, "isPositive");
            return (Criteria) this;
        }

        public Criteria andIsPositiveNotIn(List<Integer> values) {
            addCriterion("is_positive not in", values, "isPositive");
            return (Criteria) this;
        }

        public Criteria andIsPositiveBetween(Integer value1, Integer value2) {
            addCriterion("is_positive between", value1, value2, "isPositive");
            return (Criteria) this;
        }

        public Criteria andIsPositiveNotBetween(Integer value1, Integer value2) {
            addCriterion("is_positive not between", value1, value2, "isPositive");
            return (Criteria) this;
        }

        public Criteria andPatientGenderIsNull() {
            addCriterion("patient_gender is null");
            return (Criteria) this;
        }

        public Criteria andPatientGenderIsNotNull() {
            addCriterion("patient_gender is not null");
            return (Criteria) this;
        }

        public Criteria andPatientGenderEqualTo(String value) {
            addCriterion("patient_gender =", value, "patientGender");
            return (Criteria) this;
        }

        public Criteria andPatientGenderNotEqualTo(String value) {
            addCriterion("patient_gender <>", value, "patientGender");
            return (Criteria) this;
        }

        public Criteria andPatientGenderGreaterThan(String value) {
            addCriterion("patient_gender >", value, "patientGender");
            return (Criteria) this;
        }

        public Criteria andPatientGenderGreaterThanOrEqualTo(String value) {
            addCriterion("patient_gender >=", value, "patientGender");
            return (Criteria) this;
        }

        public Criteria andPatientGenderLessThan(String value) {
            addCriterion("patient_gender <", value, "patientGender");
            return (Criteria) this;
        }

        public Criteria andPatientGenderLessThanOrEqualTo(String value) {
            addCriterion("patient_gender <=", value, "patientGender");
            return (Criteria) this;
        }

        public Criteria andPatientGenderLike(String value) {
            addCriterion("patient_gender like", value, "patientGender");
            return (Criteria) this;
        }

        public Criteria andPatientGenderNotLike(String value) {
            addCriterion("patient_gender not like", value, "patientGender");
            return (Criteria) this;
        }

        public Criteria andPatientGenderIn(List<String> values) {
            addCriterion("patient_gender in", values, "patientGender");
            return (Criteria) this;
        }

        public Criteria andPatientGenderNotIn(List<String> values) {
            addCriterion("patient_gender not in", values, "patientGender");
            return (Criteria) this;
        }

        public Criteria andPatientGenderBetween(String value1, String value2) {
            addCriterion("patient_gender between", value1, value2, "patientGender");
            return (Criteria) this;
        }

        public Criteria andPatientGenderNotBetween(String value1, String value2) {
            addCriterion("patient_gender not between", value1, value2, "patientGender");
            return (Criteria) this;
        }

        public Criteria andPatientAgeIsNull() {
            addCriterion("patient_age is null");
            return (Criteria) this;
        }

        public Criteria andPatientAgeIsNotNull() {
            addCriterion("patient_age is not null");
            return (Criteria) this;
        }

        public Criteria andPatientAgeEqualTo(String value) {
            addCriterion("patient_age =", value, "patientAge");
            return (Criteria) this;
        }

        public Criteria andPatientAgeNotEqualTo(String value) {
            addCriterion("patient_age <>", value, "patientAge");
            return (Criteria) this;
        }

        public Criteria andPatientAgeGreaterThan(String value) {
            addCriterion("patient_age >", value, "patientAge");
            return (Criteria) this;
        }

        public Criteria andPatientAgeGreaterThanOrEqualTo(String value) {
            addCriterion("patient_age >=", value, "patientAge");
            return (Criteria) this;
        }

        public Criteria andPatientAgeLessThan(String value) {
            addCriterion("patient_age <", value, "patientAge");
            return (Criteria) this;
        }

        public Criteria andPatientAgeLessThanOrEqualTo(String value) {
            addCriterion("patient_age <=", value, "patientAge");
            return (Criteria) this;
        }

        public Criteria andPatientAgeLike(String value) {
            addCriterion("patient_age like", value, "patientAge");
            return (Criteria) this;
        }

        public Criteria andPatientAgeNotLike(String value) {
            addCriterion("patient_age not like", value, "patientAge");
            return (Criteria) this;
        }

        public Criteria andPatientAgeIn(List<String> values) {
            addCriterion("patient_age in", values, "patientAge");
            return (Criteria) this;
        }

        public Criteria andPatientAgeNotIn(List<String> values) {
            addCriterion("patient_age not in", values, "patientAge");
            return (Criteria) this;
        }

        public Criteria andPatientAgeBetween(String value1, String value2) {
            addCriterion("patient_age between", value1, value2, "patientAge");
            return (Criteria) this;
        }

        public Criteria andPatientAgeNotBetween(String value1, String value2) {
            addCriterion("patient_age not between", value1, value2, "patientAge");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}